class NetException implements Exception {
  final message;
  final code;

  NetException([this.code, this.message]);

  String toString() {
    if (message == null) return "Exception";
    return "$message";
  }
}
